Both Makefile.in and install.sh prepended ${DESTDIR} to ${PREFIX} so the
installation prefix became ${DESTDIR}/${DESTDIR}/${PREFIX}.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
install-$(1): $$(PKGDIR_$(1))/lib/cargo/manifest.in
$$(PKGDIR_$(1))/install.sh \
- --prefix="$$(DESTDIR)$$(CFG_PREFIX)" \
- --destdir="$$(DESTDIR)" $$(MAYBE_DISABLE_VERIFY)
+ --prefix="$$(CFG_PREFIX)" \
+ --destdir="$$(DESTDIR)/" $$(MAYBE_DISABLE_VERIFY)
endef
$(foreach target,$(CFG_TARGET),$(eval $(call DO_DIST_TARGET,$(target))))